<template>
	<view class="banner">
		<image :src="dataList" mode="" class="banner-img"></image>
	</view>
</template>

<script>
	export default {
		props: {
			dataList: {
				type: String,
				default: ""
			},
		},
	}
</script>

<style lang="scss">
	.banner {
		width: 100%;
		height: 240rpx;

		.banner-img {
			width: inherit;
			height: inherit;
		}
	}
</style>
